home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT Printer Browse.xpl < prev    next >
Text File  |  2002-10-31  |  1KB  |  38 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Server\File/Print Serving"
  5. "NAME"="Windows NT Printer Browser"
  6. "VERSION"="1.11"
  7. "OSVERSION"="01000"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Disable Printer Browse"
  10. "DESCRIPTION 1"="Check box to disable the print spooler from sending shared printer information to other print servers. Clear box allow sending shared printer information."
  11. "AUTHOR"="Ojatex@aol.com"
  12. "CONTACTURL"="http://members.aol.com/ojatex/"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"=""
  15.  
  16. Sub Plugin_Initialize 
  17.  i=RegReadValue("HKLM\System\CurrentControlSet\Control\Print\DisableServerThread")
  18.  if i=1 then SetUIElement 1,true
  19. End Sub
  20.  
  21. Sub Plugin_CheckData(ElementIndex)
  22. End Sub
  23.  
  24. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  25.  b=GetUIElement(1)
  26.  if b=true then
  27.     Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Print\DisableServerThread","1",2)
  28.  else
  29.     Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Print\DisableServerThread","0",2)
  30.  end if
  31. End Sub
  32.  
  33. Sub Plugin_Terminate 
  34. End Sub
  35.  
  36.  
  37.  
  38.